<template>
  <div>
    <div class="chartTitle">
      <p>电话呼入（总数：<span class="totalCount">{{ total }}</span>）</p>
    </div>
    <Chart :cdata="cdata" />
  </div>
</template>

<script>
import Chart from './chart.vue';
export default {
  data () {
    return {
      total: 667,
      cdata: {
        xData: ["未接听", "未上台", "摘机"],
        seriesData: [
          { value: 16, name: "未接听" },
          { value: 3, name: "未上台" },
          { value: 648, name: "摘机" }
        ]
      }
    }
  },
  components: {
    Chart,
  },
  mounted () {
  },
  methods: {
  }
}
</script>

<style lang="scss" scoped>
  .chartTitle {
    width: 100%;
    height: 20px;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
  }
  .totalCount {
    color: #3de7c9;
  }
</style>
